package org.sanmao.wyj.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.sanmao.wyj.domain.Message;

import javax.servlet.http.HttpServletRequest;

public interface MessageService extends IService<Message> {
    Boolean saveMsg(Message msg, HttpServletRequest request);
    Boolean workerSaveMsg(Message msg, HttpServletRequest request);
    boolean workerDelMsgById(int mid, HttpServletRequest request);
    boolean userDelMsgById(int mid, HttpServletRequest request);
}
